import {Base} from '../../utils/util.js'

class Product extends Base{
     constructor(){
         super();
     }

     //获取商品详情
     getDetailInfo(id,callBack){
          this.request({
              url:'details/'+id,
              success:function(res){
                callBack && callBack(res);
              }
          })
     }


}


export {Product};